Most COBOL environments do not support recursive PERFORM
calls, since they can cause unpredictable results. This rule raises an issue
when recursive PERFORM
calls are used.
Noncompliant code example
PARAGRAPH1.
PERFORM PARAGRAPH2.
PARAGRAPH2.
PERFORM PARAGRAPH3.
PARAGRAPH3.
PERFORM PARAGRAPH1.
Compliant solution
PARAGRAPH1.
PERFORM PARAGRAPH2.
PARAGRAPH2.
PERFORM PARAGRAPH3.
PARAGRAPH3.
DISPLAY "THIS IS PARAGRAPH3".